package com.example.springbootdemo.infra.mapper;

import com.example.springbootdemo.domin.VO.getCourseDetailVO;
import com.example.springbootdemo.domin.entity.Course;
import com.example.springbootdemo.domin.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    Teacher getTeacher(Integer tno);

    void updateTeacher(Teacher teacher);

    void deleteTeacher(Integer tno);

    void addTeacher(Teacher teacher);

    void addTeachers(List<String> list);

    List<Teacher> getTeachers(List<String> list);

    List<Teacher>getAll();

    List<getCourseDetailVO> getCourseByTno(String tname);
}
